﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace BusinessApplication1.Views.UserManagement
{
    public partial class ChooseForEdit : ChildWindow
    {
        public ChooseForEdit()
        {
            InitializeComponent();
        }

        private void StartRedakt(object sender, RoutedEventArgs e)
        {
            ChildWindow dialog = new UserProfileEdit();
            dialog.Closed += (s, ea) =>
            {
                if (dialog.DialogResult == true)
                {


                }
                else if (dialog.DialogResult == false)
                {

                }
                else
                {

                }
            };
            dialog.Show();
            this.DialogResult = true;
        }

        private void ToMainPage(object sender, RoutedEventArgs e)
        {
            this.DialogResult = false;
        }

        private void childWindow_Closed(object sender, EventArgs e)
        {

        }
        private void LoginWindow_Closing(object sender, EventArgs e)
        {

        }
    }
}

